//暴露函数
//本地存储持久化token
export const setToken =(token)=>{
    localStorage.setItem('TOKEN',token)
}
//清除token
export const clearToken =()=>{
    localStorage.removeItem('TOKEN');
}
//读取本地token
export const getToken =()=>{
    return localStorage.getItem('TOKEN')
}